package china.z.console.module.service;

import china.z.console.config.datasources.DS;
import china.z.console.data.dao.AcctUserMapper;
import china.z.console.data.entity.AcctUser;
import org.springframework.beans.factory.annotation.Autowired;

import org.springframework.stereotype.Service;


@Service
public class AcctUserService {

    @Autowired
    private AcctUserMapper acctUserMapper;

    @DS
    public AcctUser findByUsername(String username){
        return acctUserMapper.findByUsername(username);
    }

}
